package com.qfedu.knowledge.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName MockController
 * @Author ykx
 * @Date 2024/5/21 19:17
 * @Version 1.0
 */
@RestController
@RequestMapping("/mock")
public class MockController {
    @GetMapping
    public String mock(@RequestParam String name) {
        return "hello" + name;
    }
}
